import React from 'react'
import {
  useNavigate,

} from 'react-router-dom'
import {
  LeftOutlined,

} from '@ant-design/icons'
import {
  Button,
  Tooltip,
} from 'antd'
import './addnotice.css'

import FormDisabledDemo from '../../compoennts/notice/FormDisabledDemo'
export default function Addnotice() {
  const Navigate = useNavigate();
  const foo = () => {
    Navigate(-1)
  }
  return (
    <div className='box'>
      <div className='top'>
        <div><Tooltip title="返回上个页面"> <Button onClick={foo} type="primary" shape="circle" icon={<LeftOutlined />} /></Tooltip></div>
        <p>编辑通知</p>
      </div>
      <div className='main'>
        <FormDisabledDemo />
      </div>
    </div>
  )
}



